﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using famails.dto;

namespace famails.iface
{
    /// <summary>
    /// Summary description for ISpamRule
    /// </summary>
    public interface ISpamRule
    {
        int tblSpamRule_insert(SpamRuleDTO dt);
        int tblSpamRule_Update(SpamRuleDTO dt);
        void tblSpamRule_Delete(string Keyword);
        DataTable tblSpamRule_SearchByKeyword(string Keyword);
        DataTable GetAll();
        DataTable tblSpamRule_GetByID(string Keyword);

    }
}